import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'amfe-flexible'
import 'amfe-flexible/index.js'
import diretivesObj from '@/utils/directives'

import { Form ,Field,NavBar,Button,Tabbar ,TabbarItem,Icon,Tab,
   Tabs,Cell,List,PullRefresh,ActionSheet,Popup,Row, Col, Badge,Search,Divider,
   ShareSheet,cellGroup,Tag,Image,Dialog,Notify,DatetimePicker,Loading,Lazyload
  
  } from 'vant';

Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Form);
Vue.use(Field);
Vue.use(NavBar);
Vue.use(Button);
Vue.use(Icon);
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(Cell)
Vue.use(List)
Vue.use(PullRefresh)
Vue.use(ActionSheet)
Vue.use(Popup)
Vue.use(Badge)
Vue.use(Row)
Vue.use(Col)
Vue.use(Search)
Vue.use(Divider)
Vue.use(ShareSheet)
Vue.use(cellGroup)
Vue.use(Tag)
Vue.use(Image)
Vue.use(Dialog)
Vue.use(Notify)
Vue.use(DatetimePicker)
Vue.use(Loading)
Vue.use(Lazyload);


Vue.use(diretivesObj)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
